package util;

import java.util.List;

public class ListResponse<T> {
	private String code;
	private String msg;
	private int total;
	private List<T> list;
	public ListResponse(String code, String msg, int total, List<T> list) {
		super();
		this.code = code;
		this.msg = msg;
		this.total = total;
		this.list = list;
	}
	public ListResponse() {
		super();
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMsg() {
		return msg;
	}
	public void setMsg(String msg) {
		this.msg = msg;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public List<T> getList() {
		return list;
	}
	public void setList(List<T> list) {
		this.list = list;
	}
	

}
